RedirectResponseCodeReceived

An event indicating that a redirect response code (3xx) has been received for the URL request.

Functions

Link copied to clipboard
open fun network(): Network
Returns the Network instance initiated this event.
Link copied to clipboard
open fun newUrl(): String
Returns a string that represents the new location of the redirected URL request.
Link copied to clipboard
open fun responseCode(): Int
Returns the HTTP response code (e.g., 300, 301, and so on).
Link copied to clipboard
Returns the URL request that has been redirected.